/*
 * @Author: xiaosihan 
 * @Date: 2023-09-09 00:50:17 
 * @Last Modified by: xiaosihan
 * @Last Modified time: 2024-10-19 13:04:13
 */


.layer {
  position: relative;
  height: 100%;
  padding: 4px;
  background-color: #ffffff;
  overflow-y: auto;

  &::-webkit-scrollbar {
    width: 2px;
    height: 2px;
    background-color: rgba(0, 0, 0, 0);
  }

  &::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0);
    border-radius: 2px;
    background-color: rgba(0, 0, 0, 0);
  }

  &::-webkit-scrollbar-thumb {
    border-radius: 2px;
    background-color: #ff9729;
  }

  .layer_item {

    border-radius: 5px;
    padding-left: 4px;
    font-size: 14px;
    padding-right: 4px;
    line-height: 38px;
    border: 1px solid transparent;
    cursor: pointer;

    &:hover {
      background-color: #ff9729;

    }

    &.active {
      background-color: #FD7901;

      .name {
        color: #ffffff;
      }

      path {
        fill: #ffffff !important;
      }
    }

    .icon {
      display: inline-block;
      width: 16px;
      vertical-align: middle;
    }

    .name {
      display: inline-block;
      font-size: 16px;
      margin-left: 4px;
      width: 200px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: pre;
      vertical-align: middle;
    }

    .lock {
      display: inline-block;
      margin: 0 4px;
      vertical-align: middle;

      &.red {
        path {
          fill: #ff0000 !important;
        }
      }

      svg {
        width: 16px;
        height: 16px;
        vertical-align: middle;
        cursor: pointer;
      }
    }

    .visible {
      display: inline-block;
      margin: 0 4px;
      vertical-align: middle;

      svg {
        width: 20px;
        height: 20px;
        vertical-align: middle;
        cursor: pointer;
      }
    }

    .btn {
      display: inline-block;
      margin: 0 4px;
      vertical-align: middle;

      svg {
        width: 20px;
        height: 20px;
        vertical-align: middle;
        cursor: pointer;
      }
    }
  }


}

.no_object {
  margin-top: 100px;
  text-align: center;
  color: #ff9729;
}